package com.zone.component_home.di

import com.zone.api.service.ApiService
import com.zone.component_home.repository.DataHttpRepository
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
 *Author: last
 *Time: 2024/1/22
 *Description: xxx
 */
@Module
class RepositoryModule {

    @Singleton
    @Provides
    fun getDataHttpRepository(service: ApiService): DataHttpRepository {
        return DataHttpRepository(service)
    }
}